<?php
	if($_SERVER["REQUEST_METHOD"]=='POST') {
		$title			= strip_tags($_POST['title']);
		$code			= strip_tags($_POST['code']);
		$sql = "INSERT INTO `tbl_size` (`size_id`, `title` , `code` ) VALUES (NULL, '$title', '$code');";
		mysql_query($sql);
		redirect('../');
		exit;
	}

/*for ($i = 35; $i <= 51; $i++) {
	$title = 'EU'.$i;
	$sql = "INSERT INTO `tbl_size` (`size_id`, `title` ) VALUES (NULL, '$title');";
	mysql_query($sql);
}
exit;*/
?>